/*
 * Description: FD行信息调用后台接口JS
 * Company: 联宝（合肥）电子科技有限公司
 * Author: Jian.Yang
 * Date: 2021/01/05 15:26
 */

import { httpPost } from '../../utils/axios-utils'

export function fdRowList(obj, authConfig) {
  return httpPost('/smart-cost/server_bom/fd_row/list', obj, authConfig)
}

export function fdRowAddPart(obj, authConfig) {
  return httpPost('/smart-cost/server_bom/fd_row/add', obj, authConfig)
}

export function fdRowEditPart(obj, authConfig) {
  return httpPost('/smart-cost/server_bom/fd_row/edit', obj, authConfig)
}

export function fdRowDeletePart(obj, authConfig) {
  return httpPost('/smart-cost/server_bom/fd_row/delete', obj, authConfig)
}

export function fdRowRefreshPart(obj, authConfig) {
  return httpPost('/smart-cost/server_bom/fd_row/query', obj, authConfig)
}

export function fdRowQueryReferencePrice(obj, authConfig) {
  return httpPost('/smart-cost/server_bom/fd_row/queryReferencePrice', obj, authConfig)
}
